package richbar.com.richbar.bean;

import com.common.base.BaseResult;

import java.io.Serializable;
import java.util.List;

/**
 * Created by QiYang on 2018/11/28.
 */

public class AddressResult extends BaseResult {

    /**
     * code : 200
     * msg : 请求成功
     * data : {"list":[]}
     */

    private String msg;
    private DataEntity data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataEntity getData() {
        return data;
    }

    public void setData(DataEntity data) {
        this.data = data;
    }

    public static class DataEntity implements Serializable {
        private List<AddressBean> list;

        public List<AddressBean> getList() {
            return list;
        }

        public void setList(List<AddressBean> list) {
            this.list = list;
        }
    }

    public static class AddressBean implements Serializable{
        private String id;
        private String name;
        private String mobile;
        private String address;
        private String province;
        private String city;
        private String area;
        private String street;
        private String fulladdress;
        private String def;

        public String getStreet() {
            return street;
        }

        public void setStreet(String street) {
            this.street = street;
        }

        public String getDef() {
            return def;
        }

        public void setDef(String def) {
            this.def = def;
        }

        public String getFulladdress() {
            return fulladdress;
        }

        public void setFulladdress(String fulladdress) {
            this.fulladdress = fulladdress;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getArea() {
            return area;
        }

        public void setArea(String area) {
            this.area = area;
        }
    }
}
